package com.blb.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("course_media")
public class CourseLesson implements Serializable {

  @TableId(type = IdType.AUTO)
  private long id;
  private long courseId;
  private long sectionId;
  private String theme;
  private long duration;
  private long isFree;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;
  private long isDel;
  private long orderNum;
  private long status;

  @TableField(exist = false)
  private CourseMedia courseMedia;
}
